#pragma warning(disable:4115) // named type definition in parentheses
#pragma warning(disable:4201) // nameless struct/union
#pragma warning(disable:4214) // bit field types other than int

#include "ntdef.h"
#include "ntstatus.h"

typedef struct _BOOT_APPLICATION_PARAMETER_BLOCK
{
    ULONG Signature[2];
    ULONG Unknown8;
    ULONG Size;
    ULONG Unknown10;
    ULONG MemoryTranslationType;
    ULONGLONG ImageBase;
    ULONG ImageSize;
    ULONG MemorySettingsOffset;
    ULONG AppEntryOffset;
    ULONG BootDeviceOffset;
    ULONG FirmwareParametersOffset;
    ULONG FlagOffset;
} BOOT_APPLICATION_PARAMETER_BLOCK, *PBOOT_APPLICATION_PARAMETER_BLOCK;

